home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: Help w/ Using Semaphores
- Date: 16 Apr 1996 15:18:43 -0700
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4l16c3INNdnd@keats.ugrad.cs.ubc.ca>
- References: <4kv66u$211@felix.seas.gwu.edu>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4kv66u$211@felix.seas.gwu.edu>,
- Huy T. Nguyen <huyster@seas.gwu.edu> wrote:
- >Hi,
- >
- >I'm looking for help with the use of semaphores. I've read the man semaphore
- >page but due to my limited experience in C, it's all Greek to me. I'd
-
- I think it's due to your limited experience in programming, especially
- concurrent programming. Someone who knows what semaphores are could readily use
- them whether through a Pascal, Ada or C interface.
-
- Semaphores are not even part of the C language.
-
- >appreciate any general examples anybody can provide, such as a few lines on
- >how to use sema_init(), sema_trywait, etc. Thanks in advance.
-
- These functions and their semantics are probably particular to your operating
- system. I wish I could help, but I have no such manual page under HP-UX, SunOS
- or Linux. Are these part of POSIX threading?
- --
- I'm not really a jerk, but I play one on Usenet.
-